package com.yanqu.road.entity.activity.chefduel;


import java.util.List;

public class ChefDuelFood {

	private int pos;

	private int level;

	private int fraction;

	//合成历史
	private String process;

	public int getPos() {
		return pos;
	}

	public void setPos(int pos) {
		this.pos = pos;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getFraction() {
		return fraction;
	}

	public void setFraction(int fraction) {
		this.fraction = fraction;
	}

	public String getProcess() {
		return process;
	}

	public void setProcess(String process) {
		this.process = process;
	}

	//生成合成历史 格式(pos=level=fraction;pos=level=fraction;pos=level=fraction;)
	public void makeProcess(List<ChefDuelFood> foodList){
		/*String hecheng = "";
		for(CookBoyFood temp : foodList){
			if("".equals(temp.getProcess())){
				temp.setProcess("(" + temp.getPos() + "=" +temp.getLevel() + "=" + temp.getFraction() + ";" + ")");
			}
			hecheng += temp.getProcess();
		}
		this.setProcess("(" + hecheng + ")");*/
	}
}
